package com.yc.upload.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.HashMap;

@Component
@ConfigurationProperties(prefix = "upload")
@Data
@AllArgsConstructor
public class UploadProperties {

    //web路径和磁盘路径的映射
    HashMap<String,String> mapping;
}
